import { submitFromData } from '../../common/js/mixin'
let component = {
  properties: {
    openImg: {
      type: Object,
      value: {}
    },
    isIphoneX: {
      type: Boolean,
      value: false
    }
  },
  methods: {
    hadReds (e) {
      this._submitFrom(e.detail.formId)
      this.triggerEvent('hadReds')
    },
    redCancels () {
      this.triggerEvent('redCancels')
    }
  }
}
submitFromData(component)
Component(component)
